import Vue from 'vue'
import App from './App.vue'
import router from './router/index.js';
import store from './store/index.js';
import Ei from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import VueAwesomeSwiper from 'vue-awesome-swiper';
import {$get,$postk,$postf,$postj} from '@/ajax/index.js'
import 'swiper/css/swiper.css';

Vue.prototype.$id="http://127.0.0.1:80";
Vue.prototype.$get=$get;
Vue.prototype.$postk =$postk;
Vue.prototype.$postf =$postf;
Vue.prototype.$postj =$postj;
Vue.config.productionTip = false
// 第三方请求，需要设置代理地址	axios.defaults.baseURL ='/api';		//使用时:this.$axios.请求方式('请求地址')
// npm install vuex-persistedstate -S
Vue.use(Ei);
Vue.use(VueAwesomeSwiper);
// Vue.use(axios);

new Vue({
  render: h => h(App),
  router,
  store
}).$mount('#app')
